import Vue from 'vue'
import Router from 'vue-router'
import products from "./products";

Vue.use(Router)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('@/views/Home')
  },
  ...products
];

const router = new Router({
  routes: routes
});

console.log(routes)

export default router;
